{include file="header.tpl" title=""}
<form action="" method="post" name ="tongquat" target="_self">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="3">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'">
</td>
<td align="right" nowrap="nowrap">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/>
</td>
</tr>
<tr>
<td colspan="4">
<hr>
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="13%">{$lbl_SBVTYP}</td>
     <td style="color:#FF0000"><select name="SBVTYP" size="1" style="background:{$colorSBVTYP}"  id="SBVTYP" onchange="document.getElementById('findSBVSEQ').click();" {if $activefield eq 'enabled'} disabled="disabled" {/if} >
  {foreach from=$cbo_SBVTYP key=k item=v}
<option value="{$k}" {if $SBVTYP eq $k} selected="selected" {/if} >{$k} - {$v}</option>
 {/foreach}
</select>
*
<input id="replacement_find" type="submit" name="find" value="    "  height="15"/>
<input type="submit" style="visibility:hidden" id="findSBVSEQ" name="findSBVSEQ" value="    "  height="15"/>
<input type="hidden" value="{$SBVTYP}" name="tmpSBVTYP" id="tmpSBVTYP" /></td>
     <td width="46%" style="color:#FF0000">&nbsp;</td>
  </tr>
  
  <tr>
    <td nowrap="nowrap">{$lbl_SBVSEQ}</td>
    <td style="color:#FF0000" nowrap="nowrap"><select name="SBVSEQ" style="background:{$colorSBVSEQ}" size="1"  id="SBVSEQ" {if $activefield eq 'enabled'} disabled="disabled" {/if} >
      
      {foreach from=$cbo_SBVSEQ key=k item=v}
      
      <option value="{$k}" {if $SBVSEQ eq $k} selected="selected" {/if} >{$k} - {$v}</option>
      
	  {/foreach}
    
    </select>
*
<input type="hidden" value="{$SBVSEQ}" name="tmpSBVSEQ" id="tmpSBVSEQ" /></td>
    <td style="color:#FF0000" nowrap="nowrap">&nbsp;</td>
  </tr>
  <tr>
    <td>{$lbl_SBVCOD}</td>
    <td><span style="color:#FF0000">
      <input name="SBVCOD" style="background:{$colorSBVCOD}" type="text"  class="textright" id="SBVCOD" value="{$SBVCOD}" size="20" maxlength="10" {if $activefield eq 'enabled'}  readonly="readonly" {/if} />
    *</span></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_VNDESC}</td>
    <td width="25%"><span style="color:#FF0000">
      <input name="VNDESC" readonly="readonly" style="background:{$colorVNDESC}" id="VNDESC" type="text"  value="{$VNDESC}" size="60" maxlength="50" />
    </span></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_ENDESC}</td>
    <td><input name="ENDESC" id="ENDESC" readonly="readonly" type="text"  value="{$ENDESC}" size="60" maxlength="50" /></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_LBRNCODE}</td>
    <td><input name="LBRNCODE" readonly="readonly" style="background:{$colorLBRNCODE}" type="text"  class="textright" id="LBRNCODE" value="{$LBRNCODE}" size="60" maxlength="255" /></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_LBRNSUBBRN}</td>
    <td><input name="LBRNSUBBRN" readonly="readonly" style="background:{$colorLBRNSUBBRN}" type="text"  class="textright" id="LBRNSUBBRN" value="{$LBRNSUBBRN}" size="60" maxlength="255" /></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_SBVSECTOR}</td>
    <td><input name="SBVSECTOR" readonly="readonly" style="background:{$colorSBVSECTOR}" type="text"  class="textright" id="SBVSECTOR" value="{$SBVSECTOR}" size="20" maxlength="10" /></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_FREETEXT1}</td>
    <td><span style="color:#FF0000">
      <input name="FREETEXT1" style="background:{$colorFREETEXT1}" id="FREETEXT1" type="text"  value="{$FREETEXT1}" size="70" maxlength="50" readonly="readonly" />
    </span></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_FREETEXT2}</td>
    <td><span style="color:#FF0000">
      <input name="FREETEXT2" style="background:{$colorFREETEXT2}" id="FREETEXT2" type="text"  value="{$FREETEXT2}" size="70" maxlength="50" readonly="readonly"/>
    </span></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_ENABLED}</td>
    <td><span style="color:#FF0000">
      <input type="checkbox" id="ENABLED" disabled="disabled" name="ENABLED" onchange="check_change(1);" {if $ENABLED eq "Y"} checked="checked" {/if}/>
    </span></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td colspan="3" nowrap="nowrap">&nbsp;</td>
    </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
  <td align="left" nowrap="nowrap" colspan="2"><div align="right">
    <input type="button" name="cancle" id="cancle" value="{$ten_cancle}" class="button_style" onclick="activeform(this.form,'SBVTYP-SBVSEQ-SBVCOD');" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
    <input value="{$lbl_tuchoi}" name="tuchoi" type="submit" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" {if $activefield eq 'disabled' }disabled="disabled" {/if}/>
    <input value="{$lbl_duyet}" name="duyet" type="submit" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" {if $activefield eq 'disabled' }disabled="disabled" {/if}>
  </div></td>
</tr>
<tr>
  <td align="left" nowrap="nowrap" colspan="2"><input value="{$lbl_lichsuthaydoi}" name="lichsuthaydoi" type="button" class="button_style" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" onclick="mywindow = window.open('lich_su_par_sbvcode.php?id={$SBVTYP-$SBVSEQ-$SBVCOD}', 'mywindow','menubar=0,scrollbars=1,resizable=0,width=700,height=300');mywindow.moveTo((screen.width-700)/2,(screen.height-300)/2);" /></td>
</tr>
<tr>
<td colspan="2"><hr></td>
</tr>
<tr>
<td>
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap"> 
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
</tr>
</table>
</form>
{include file="footer.tpl"}
